package discard;

/**
 * @author Created by lianlb on 2017/11/7 16:26.
 */
public class Test {

    public static void main(String[] args) {
        String msg = "*00000303*GPS:39.4011,N,117.1646,E\n" +
                "Q1:0000000141\n" +
                "Temp:23.4 C\n" +
                "Hum:63.4%RH\n" +
                "Voltage:12.2 V\n" +
                "2015-08-19 06:29\n" +
                "Time:0060\n";
        msg = "6666342423Time:0060";
        msg = "\n" +
                "SUM:1\n" +
                "Device ID :00000591\n" +
                "Q1:0000000262\tOpen\n" +
                "2017-11-08 09:56\n";
        msg = "*00000848*GPS:24.63278,N,117.98628,E Q1:0000005003 Temp:28.0 C";
        System.out.println("msg：" + msg.length());
    }
}
